package moveMysql;

import java.io.Serializable;
import java.sql.Timestamp;

public class CaseEntity implements Serializable {
    private Long id;
    private String name;
    private Integer difficulty;
    private Integer domain;
    private String description;
    private Long subject_id;
    private String case_id;
    private Boolean is_public;
    private Timestamp create_time;
    private Long app_id;
    private Boolean is_deleted;
    private Long owner_id;
    private Short platform;
    private String properties;
    private Long subsite_id;

    public CaseEntity() {
    }

    public CaseEntity(Long id, String name, Integer difficulty, Integer domain, String description, Long subject_id, String case_id, Boolean is_public, Timestamp create_time, Long app_id, Boolean is_deleted, Long owner_id, Short platform, String properties, Long subsite_id) {
        this.id = id;
        this.name = name;
        this.difficulty = difficulty;
        this.domain = domain;
        this.description = description;
        this.subject_id = subject_id;
        this.case_id = case_id;
        this.is_public = is_public;
        this.create_time = create_time;
        this.app_id = app_id;
        this.is_deleted = is_deleted;
        this.owner_id = owner_id;
        this.platform = platform;
        this.properties = properties;
        this.subsite_id = subsite_id;
    }

    @Override
    public String toString() {
        return "CaseEntity{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", difficulty=" + difficulty +
                ", domain=" + domain +
                ", description='" + description + '\'' +
                ", subject_id=" + subject_id +
                ", case_id='" + case_id + '\'' +
                ", is_public=" + is_public +
                ", create_time=" + create_time +
                ", app_id=" + app_id +
                ", is_deleted=" + is_deleted +
                ", owner_id=" + owner_id +
                ", platform=" + platform +
                ", properties='" + properties + '\'' +
                ", subsite_id=" + subsite_id +
                '}';
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getDifficulty() {
        return difficulty;
    }

    public void setDifficulty(Integer difficulty) {
        this.difficulty = difficulty;
    }

    public Integer getDomain() {
        return domain;
    }

    public void setDomain(Integer domain) {
        this.domain = domain;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Long getSubject_id() {
        return subject_id;
    }

    public void setSubject_id(Long subject_id) {
        this.subject_id = subject_id;
    }

    public String getCase_id() {
        return case_id;
    }

    public void setCase_id(String case_id) {
        this.case_id = case_id;
    }

    public Boolean getIs_public() {
        return is_public;
    }

    public void setIs_public(Boolean is_public) {
        this.is_public = is_public;
    }

    public Timestamp getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Timestamp create_time) {
        this.create_time = create_time;
    }

    public Long getApp_id() {
        return app_id;
    }

    public void setApp_id(Long app_id) {
        this.app_id = app_id;
    }

    public Boolean getIs_deleted() {
        return is_deleted;
    }

    public void setIs_deleted(Boolean is_deleted) {
        this.is_deleted = is_deleted;
    }

    public Long getOwner_id() {
        return owner_id;
    }

    public void setOwner_id(Long owner_id) {
        this.owner_id = owner_id;
    }

    public Short getPlatform() {
        return platform;
    }

    public void setPlatform(Short platform) {
        this.platform = platform;
    }

    public String getProperties() {
        return properties;
    }

    public void setProperties(String properties) {
        this.properties = properties;
    }

    public Long getSubsite_id() {
        return subsite_id;
    }

    public void setSubsite_id(Long subsite_id) {
        this.subsite_id = subsite_id;
    }
}
